package components.ship;

import com.uqbar.vainilla.appearances.Appearance;

import components.asteroids.Asteroid;

public abstract class ShipState {

	private Ship ship;
	
	public ShipState(Ship ship){
		this.ship = ship;
	}
	public void newState(ShipState state){
		this.ship.setState(state);
	}

	public Ship getShip() {
		return ship;
	}

	public void setShip(Ship ship) {
		this.ship = ship;
	}

	public abstract void collideWithAsteroid(Asteroid asteroid);

	public abstract void protectionTime(double delta);
	public abstract Appearance getShipAppearance();
		
}
